<?php
/**
 * 具体策略角色 Addition Operator
 * @author Kenny Wang
 */
class Add implements Operation {

	public function op($a, $b)
	{
		$result = $a + $b;
		echo "$a+$b=$result"."\n";
	}
}